package com.ruoyi.loginfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 物流收货地址对象 log_address
 * 
 * @author ruoyi
 * @date 2023-10-15
 */
public class LogAddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 地址ID主键 */
    private Long id;

    /** 用户id,关联用户 */
    @Excel(name = "用户id,关联用户")
    private Long systemUserId;

    /** 收货联系人 */
    @Excel(name = "收货联系人")
    private String logisticsName;

    /** 收货联系电话 */
    @Excel(name = "收货联系电话")
    private String phoneNumber;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String address;

    /** 收货详细地址 */
    @Excel(name = "收货详细地址")
    private String detailedAddress;

    /** 地址纬度 */
    @Excel(name = "地址纬度")
    private Double latitude;

    /** 地址经度 */
    @Excel(name = "地址经度")
    private Double longitude;

    /** 是否默认地址：0/默认 1/非默认 */
    @Excel(name = "是否默认地址：0/默认 1/非默认")//
    private Long defaultAddress;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSystemUserId(Long systemUserId) 
    {
        this.systemUserId = systemUserId;
    }

    public Long getSystemUserId() 
    {
        return systemUserId;
    }
    public void setLogisticsName(String logisticsName) 
    {
        this.logisticsName = logisticsName;
    }

    public String getLogisticsName() 
    {
        return logisticsName;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDetailedAddress(String detailedAddress) 
    {
        this.detailedAddress = detailedAddress;
    }

    public String getDetailedAddress() 
    {
        return detailedAddress;
    }
    public void setLatitude(Double latitude) 
    {
        this.latitude = latitude;
    }

    public Double getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(Double longitude) 
    {
        this.longitude = longitude;
    }

    public Double getLongitude() 
    {
        return longitude;
    }
    public void setDefaultAddress(Long defaultAddress) 
    {
        this.defaultAddress = defaultAddress;
    }

    public Long getDefaultAddress() 
    {
        return defaultAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("systemUserId", getSystemUserId())
            .append("logisticsName", getLogisticsName())
            .append("phoneNumber", getPhoneNumber())
            .append("address", getAddress())
            .append("detailedAddress", getDetailedAddress())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("defaultAddress", getDefaultAddress())
            .toString();
    }
}
